{include file="public/header" /}
<style>
    .notify-rgt {
        padding: 1.5625rem 0;
        width: calc(100% - 3.5rem);
        border-bottom: 1px solid var(--ce);
    }
    .notify-flex-layout {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .notify-flex-layout p {
        font-size: 0.6875rem;
        color: var(--bd);
    }
</style>
<body>
<div class="header">
    <i class="layui-icon layui-icon-left" onclick="goBack()"></i> 消息通知
</div>
<ul class="new-center-list tpl_list"></ul>
</body>
{include file="public/footer" /}
<script id="template" type="text/html">
    {{# for(var i = 0; i < d.data.length; i++) { }}
    <li>
        <a href="{:url('notify/details')}?id={{d.data[i].id}}">
            <p class="flex-center">
                <img src="/static/index/img/icon1.png" alt="">
            </p>
            <div class="notify-rgt">
                <div class="notify-flex-layout">
                    {{d.data[i].title}}
                    <p>{{d.data[i].create_time}}</p>
                </div>
            </div>
        </a>
    </li>
    {{# } }}
</script>
<script>
    $(function () {
        getFlow('', "{:url('notify/getList')}");
    });
</script>
</html>